<div class="col-sm-12 mt20">

  <div class="panel panel-default">
      <div class="panel-body" ng-keyup="myKeyup($event)">
          <div class="col-sm-2">
              <input type="text" class="form-control" placeholder="商户名称" ng-model="pageInfo.mer_name">
          </div>
          <div class="col-sm-2">
              <input type="text" class="form-control" placeholder="商户电话" ng-model="pageInfo.mer_tel">
          </div>
          <div class="col-sm-2">
          </div>
          <div class="col-sm-2">
          </div>
          <div class="col-sm-2">
              <button class="btn btn-success search btn-block" ng-click="info()">创建商户</button>
          </div>
          <div class="col-sm-2">
              <button class="btn btn-info search btn-block" ng-click="loadlist()">立即搜索</button>
          </div>
      </div>

      <div class="panel-body">
          <table class="table table-striped table-bordered dataTable table-condensed tree_table" style="table-layout:fixed">
              <thead>
                  <tr>
                      <th class="col-md-1 text-center">商户名称</th>
                      <th class="col-md-1 text-center">商户地址</th>
                      <th class="col-md-1 text-center">商户电话</th>
                      <th class="col-md-1 text-center">营业时间</th>
                      <th class="col-md-1 text-center">操作</th>
                  </tr>
              </thead>
              <tbody>
                  <tr ng-repeat="bean in beanList">
                      <td class="text-center">{{bean.mer_name}}</td>
                      <td class="text-center">{{bean.mer_address}}</td>
                      <td class="text-center">{{bean.mer_tel}}</td>
                      <td class="text-center">{{bean.mer_time}}</td>
                      <td class="text-center">
                          <button type="button" class="btn btn-success btn-xs" ng-click="update(bean)">修改</button>
                          <button type="button" class="btn btn-danger btn-xs" ng-click="delete(bean)">删除</button>
                      </td>
                  </tr>
              </tbody>
          </table>
      </div>

      <div class="text-right" style="background-color: white; margin-right: 30px">
          <pagination total-items="pageInfo.totalItems" ng-model="pageInfo.pageNo" ng-change="loadlist()" previous-text="上一页" next-text="下一页"
              first-text="首页" last-text="尾页" max-size="5" boundary-links="true" rotate="false" items-per-page="pageInfo.pageSize"
              class="m-t-none m-b"></pagination>
      </div>

  </div>
</div>